﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace BlueLotus7.ArchiveSystem.Common
{
    [DataContract]
    [KnownType(typeof(MonitorProcessRuleTarget))]
    [KnownType(typeof(MonitorProcessRuleKeywordCriteria))]
    public class MonitorProcessRule
    {
        [DataMember]
        public Guid Key
        {
            get;
            set;
        }

        [DataMember]
        public string Name
        {
            get;
            set;
        }

        [DataMember]
        public MonitorProcessRuleTarget TargetScope
        {
            get;
            set;
        }

        [DataMember]
        public List<MonitorProcessRuleKeywordCriteria> RuleKeywordCriterias
        {
            get;
            set;
        }
    }
}
